import Vue from 'vue'
import Router from 'vue-router'
import home from '../components/home'
import userList from '../components/userList'
import pay from '../components/pay'
import result from '../components/result'
import recharge from '../components/recharge'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/userList',
      name: 'userList',
      component: userList
    },
    {
      path: '/pay',
      name: 'pay',
      component: pay
    },
    {
      path: '/result',
      name: 'result',
      component: result
    },
    {
      path: '/recharge',
      name: 'recharge',
      component: recharge
    }
  ]
})
